<%= rc_form_tag('/articles', ip: request.remote_ip) do |f| %>
  <% if @article.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved:</h2>

      <ul>
      <% @article.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div>
    <%= label_tag 'title' %><br>
    <%= rc_text_field_tag 'title' %>
  </div>

  <div>
    <%= label_tag 'text' %><br>
    <%= rc_text_area_tag 'text' %>
  </div>

  <div>
    <%= submit_tag %>
  </div>
<% end %>
